.section-header {
    background-color: rgba(200, 200, 200, 0.5);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.think-form-container,
.comment-form-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment-form-container {
    margin-top: 40px;
}

.think-form-container h3 {
    color: #333;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.thinks-list {
    margin-top: 30px;
}

.thinks-list h3 {
    color: #333;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.think-container {
    margin-bottom: 25px;
}

.think-date {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 5px 15px;
    border-radius: 8px 8px 0 0;
    margin-bottom: -1px;
    display: inline-block;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.05);
    color: #666;
    font-size: 14px;
}

.think-item {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 15px;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.think-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.think-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

.think-time {
    color: #999;
    font-size: 12px;
}

.think-content {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* 点赞功能样式 */
.think-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.reply-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 5px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.reply-btn:hover {
    background-color: #e0e0e0;
}

.like-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.like-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 16px;
    padding: 2px 5px;
    transition: color 0.3s;
}

.like-btn:hover {
    color: #ff4d4f;
}

.like-btn.liked {
    color: #ff4d4f;
    font-weight: bold;
}

.like-count {
    margin-left: 5px;
    color: #666;
    font-size: 14px;
}

/* 评论样式 */
.comments-list {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.comment-item {
    background-color: rgba(245, 245, 245, 0.8);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.comment-header {
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.comment-nickname {
    color: purple;
}

.comment-text {
    color: #333;
    line-height: 1.5;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-like-container {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}

.comment-like-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #888;
    transition: color 0.2s;
}

.comment-like-btn:hover {
    color: #ff4d4f;
}

.comment-like-btn.liked {
    color: #ff4d4f;
    font-weight: bold;
}

.comment-like-count {
    font-size: 12px;
    color: #888;
}

/* 表单样式 */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.btn-primary {
    background-color: #428bca;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #3071a9;
}

/* 验证样式 */
.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.is-invalid~.invalid-feedback {
    display: block;
}